export interface HttpRequestOptions <RequestData = any, ResponseData = any> {
  url: string;
  data?: RequestData;
  headers?: Record<string, string>;
  success?: (data: ResponseData) => void;
  error?: (error: Error) => void;
}

export interface SearchActionParams {
  cityId: string;
  keyword: string;
}

export interface ReturnResult <T> {
  code: number;
  message: string;
  status: 'Success' | 'Error';
  data: T
}
